import os
import sys

real_path = os.path.abspath(__file__)
print(real_path)
root_path = '/'.join(real_path.split('\\')[:-3])
print(root_path)
sys.path.append(root_path)